#include <stdio.h>

#include <CompileVisitor.h>

#include "AstNodeDoubleConstant.h"

AstNodeDoubleConstant::AstNodeDoubleConstant(double value)
{
  this->value=value;
}

void AstNodeDoubleConstant::dump(int level)
{
  printf("double<%lf>",value);
}

void AstNodeDoubleConstant::compile(CompileVisitor * visitor)
{
  visitor->compile(this);
}

